#include "BulletDynamics/MLCPSolvers/btMLCPSolver.h"
#ifdef __cplusplus
extern "C" {
#endif
btMLCPSolver* bullet_NewbtMLCPSolver(btMLCPSolverInterface* solver){
	btMLCPSolverInterface * c_arg_solver=(btMLCPSolverInterface *)(void*)(solver);
	btMLCPSolver* wrap_out = new btMLCPSolver(c_arg_solver);
	return wrap_out;
}

int bullet_btMLCPSolver_getNumFallbacks(btMLCPSolver* c_this){
	int c_out = c_this->getNumFallbacks();
	int wrap_out = (c_out);
	return wrap_out;
}

void bullet_btMLCPSolver_setMLCPSolver(btMLCPSolver* c_this,btMLCPSolverInterface* solver){
	btMLCPSolverInterface * c_arg_solver=(btMLCPSolverInterface *)(void*)(solver);
	c_this->setMLCPSolver(c_arg_solver);
}

void bullet_btMLCPSolver_setNumFallbacks(btMLCPSolver* c_this,int num){
	int c_arg_num=num;
	c_this->setNumFallbacks(c_arg_num);
}

#ifdef __cplusplus
}
#endif
